﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LiteDB;

namespace MyFound
{
    public class BaseTrade
    {
          public ObjectId Id { get; set; } 
        public DateTime DateTime { get; set; } 
        
    
       public decimal Equity { get; set; }
       public decimal Count { get; set; }

       public decimal Fee { get; set; }
       public decimal Rate { get; set; }
    }
    public class Trade : BaseTrade
    {
     
       public string FdCode { get; set; }
          public decimal Principal { get; set; }
       public int FeeType { get; set; }

       public int DataStatus { get; set; }

       public decimal RealCount { get; set; }

       public decimal RealEquity { get; set; }
    }
}
